home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
scope
/
101-125
/
scopedisk113
/
arexx
/
gdname.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-03-19
|
394b
|
15 lines
/* gdname.rexx....Gets name of disk */
/* arg = vol */
gdname:
arg vol
call setclip('DNAME',"")
/* GET INFO FOR THAT FLOPPY DRIVE */
""'info 'vol' | execio from 4 for 1 var diskinfo'
if compare(word(diskinfo,8),'Only') == 0 then diskname = subword(diskinfo,9,)
else diskname = subword(diskinfo,8,)
call setclip('DNAME','"' || diskname || '"')
return